exynos: config: enable arch memcpy and arch memset
authorPrzemyslaw Marczak <[email protected]>
Wed, 4 Mar 2015 13:01:21 +0000 (14:01 +0100)
committerTom Rini <[email protected]>
Mon, 9 Mar 2015 15:13:28 +0000 (11:13 -0400)
commit929d9a29e14cbfd890502e6d06b33d37172cacf4
treedd0c8ee6795fbd78d6245fcfb997aeb4e07ea5ea
parentbd4f706aa872fd5793f150fc98a8131e9b4e911d
exynos: config: enable arch memcpy and arch memset

This commit enables the following configs:
- CONFIG_USE_ARCH_MEMCPY
- CONFIG_USE_ARCH_MEMSET
This increases the performance of memcpy/memset
and also reduces the boot time.

This was tested on Trats2.
A quick test with trace. Boot time from start to main_loop() entry:
- ~1527ms - before this change (arch memset enabled for .bss clear)
- ~1384ms - after this change

Signed-off-by: Przemyslaw Marczak <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Cc: Minkyu Kang <[email protected]>
Cc: Akshay Saraswat <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Sjoerd Simons <[email protected]>
include/configs/exynos-common.h